﻿@{
    ViewData["Title"] = "GetWarehouse";
    Layout = "~/Views/Shared/Temp.cshtml";
}


<blockquote class="layui-elem-quote">
    <h1 style="color:darkgray">仓库管理</h1>
</blockquote>



<div>

    <table>
        <tr>
            <td>

                <input type="text" id="wareCode" name="wareCode" placeholder="编号" class="layui-input" lay-affix="clear">

            </td>
            <td>

                <input type="text" id="wareName" name="wareName" placeholder="仓库名称" class="layui-input" lay-affix="clear">

            </td>
            <td>
                <div class="layui-col-md6">
                    <select class="layui-select" placeholder="部门" id="DpmId" name="DpmId">
                        <option value="0">请选择部门</option>
                        <option value="1">财务中心</option>
                        <option value="2">信息技术中心</option>
                        <option value="3">销售服务中心</option>
                        <option value="4">运营推广中心</option>
                        <option value="5">管理中心</option>
                        <option value="6">行政部</option>
                    </select>
                </div>
            </td>
            <td>
                <div class="layui-col-md6">
                    <select class="layui-select" placeholder="仓库类型" id="types" name="type">
                        <option value="">请选择仓库类型</option>
                        <option value="财务经理">财务经理</option>
                        <option value="信息管理员">信息管理员</option>
                        <option value="仓库管理员">仓库管理员</option>
                        <option value="采购管理员">采购管理员</option>
                    </select>
                </div>
            </td>
            <td>
                <button type="submit" class="layui-btn" lay-submit id="selectbtn" lay-filter="selectbtn" onclick="selectbtn()">搜索</button>
                <button class="layui-btn layui-btn-primary layui-border">重置</button>
            </td>
        </tr>
    </table>



</div>
<div style="margin-top: 50px;">
    <h3 style="color:darkgray">数据列表</h3>
    <div style="float:right;margin-top: -30px;text-align: right;">
        <button class="layui-btn layui-btn-primary layui-btn-sm layui-border layui-icon layui-icon-addition" onclick="location.href='/Foundation/AddWarehouse'">新增</button>
        @* <button class="layui-btn layui-btn-primary layui-btn-sm layui-border layui-icon layui-icon-edit" onclick="location.href='/Foundation/UptWarehouse'">编辑</button> *@
        <button class="layui-btn layui-btn-primary layui-btn-sm layui-border layui-icon layui-icon-close" lay-on="test-confirm" id="myDelete">删除</button>
        <button class="layui-btn layui-btn-primary layui-btn-sm layui-border layui-icon layui-icon-refresh" lay-on="test-msg-dark" onclick="location.reload()">刷新</button>
        <script type="text/html" id="toolbarDemo"></script>
       @*  <button class="layui-btn layui-btn-primary layui-btn-sm layui-border layui-icon layui-icon-export">导出</button> *@

    </div>
</div>
@*  表格渲染 *@
<div>
    <table class="layui-table" id="ID-table-demo-templet" lay-filter="test"></table>
</div>




<script src="~/js/foundation/getwarehouse.js"></script>
